package com.Dao;

import com.enitity.test;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface daotest {

    @Select("select * from test where id = #{id}")
    public test getById(int id);

    @Select("select * from test")
    public List<test> Select();
}
